﻿using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using SingleUserMall.Authorization.Users;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SingleUserMall.Users.Form
{
    [AutoMapTo(typeof(UserRefit))]
    public class UserRefitForm:EntityDto<long>
    {
        /// <summary>
        /// 姓名
        /// </summary>
        [Required, MaxLength(20)]
        public string Name { get; set; }
        /// <summary>
        /// 手机号
        /// </summary>
        [Required, MaxLength(20)]
        public string PhoneNumber { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        [Required, MaxLength(20)]
        public string Address { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        [MaxLength(20)]
        public string Description { get; set; }
    }
}
